<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      // 作业1，本地存储你同学的所有的信息（用对象统计），再取出来，修改名字然后删除性别，再更新存储本地
      let obj = {
        uname: ['杨自力', '纸片人', '小帅', '李淑殷', '昼夜'],
        age: 18,
      }
      localStorage.setItem('number5', JSON.stringify(obj))
      localStorage.removeItem('number5')
      const sb =JSON.parse(localStorage.getItem('number5'))
      console.log(sb);
    </script>
  </body>
</html>
